<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2022/3/5
  Time: 16:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Course Center</title>
    <script src="../js/jquery.js"></script>
    <script src="../js/common.js"></script>
    <link rel="stylesheet" href="../css/Course-elementary.css">
</head>
<body>
<div>
    <jsp:include page="header.jsp"></jsp:include>
    <div class="medol-Course">
        <div>
            <c:forEach items="${bannerModels}" var="bannerModel" begin="3" end="3">
                <div><img src="${bannerModel.picture}"></div>
            </c:forEach>
        </div>
        <div>
            <div>
                <div>
                    <div>
                        <c:forEach items="${aboutNavModels}" var="aboutNavModel" begin="0" end="0">
                            <div>
                                <div><img src="${aboutNavModel.picture}" height="15" width="15"/></div>
                                <div>
                                    <div onclick="location.href='${aboutNavModel.href}'">${aboutNavModel.title}</div>
                                </div>
                            </div>
                        </c:forEach>
                        <div>
                            <div><div>>></div></div>
                            <div>
                                <c:forEach items="${navList}" var="navList" begin="3" end="3">
                                    <div onclick="location.href='${navList.herf}'">${navList.title}</div>
                                </c:forEach>
                            </div>
                        </div>
                    </div>
                    <div>
                        <c:forEach items="${aboutNavModels}" var="aboutNavModel" begin="1" end="5">
                            <div onclick="location.href='${aboutNavModel.href}'">${aboutNavModel.title}</div>
                        </c:forEach>
                    </div>
                </div>
                <div>
                    <c:forEach items="${communalTitles}" var="communalTitle" begin="2" end="2">
                        <div>
                            <div>
                                <div>${communalTitle.title1}</div>
                            </div>
                            <div>
                                <div>${communalTitle.title2}</div>
                            </div>
                        </div>
                    </c:forEach>
                </div>
                <div>
                    <c:forEach items="${courseModels}" var="courseModel" begin="6" end="8">
                        <div>
                            <div>
                                <div onclick="location.href='${courseModel.href}'"><img src="${courseModel.picture}"></div>
                            </div>
                            <div>
                                <div>
                                    <div>${courseModel.title}</div>
                                    <div>市场价：${courseModel.price}</div>
                                    <div>价格：${courseModel.price1}</div>
                                </div>
                            </div>
                        </div>
                    </c:forEach>
                </div>
            </div>
        </div>
    </div>
    <jsp:include page="foot.jsp"></jsp:include>
</div>
</body>
</html>
